package App;

import com.sun.org.apache.xpath.internal.operations.Bool;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;

import java.util.Arrays;

/**
 * Created by yu on 2017/7/8.
 */
@SpringBootApplication
@EnableAsync
public class App
{
    public static Boolean Deploy=false;
    public static void main(String[] args) {
        //判断是否是deploy状态
        for (String arg : args) {
            if (arg.equals("deploy")) {
                Deploy = true;
            }
        }
        SpringApplication.run(App.class, args);
    }


}
